<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/main.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">main.c 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>主程序  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;stdbool.h&gt;</code><br />
<code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;SWM341.h&quot;</code><br />
<code>#include &quot;<a class="el" href="version_8h_source.html">version.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="bsp__init_8h_source.html">bsp_init.h</a>&quot;</code><br />
<code>#include &quot;lvgl.h&quot;</code><br />
<code>#include &quot;<a class="el" href="log_8h_source.html">log.h</a>&quot;</code><br />
<code>#include &quot;lv_port_disp.h&quot;</code><br />
<code>#include &quot;lv_port_indev.h&quot;</code><br />
<code>#include &quot;lv_port_fs.h&quot;</code><br />
<code>#include &quot;lv_examples/lv_examples.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
main.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2main_8c" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2main_8c" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2main_8c">
<area shape="rect" title="主程序" alt="" coords="1024,5,1243,60"/>
<area shape="rect" title=" " alt="" coords="5,108,80,133"/>
<area shape="rect" title=" " alt="" coords="105,108,170,133"/>
<area shape="rect" title=" " alt="" coords="194,108,259,133"/>
<area shape="rect" title=" " alt="" coords="877,328,963,353"/>
<area shape="rect" href="version_8h.html" title="版本/目标控制" alt="" coords="733,255,806,280"/>
<area shape="rect" href="bsp__init_8h.html" title="板级硬件外设初始化" alt="" coords="1055,108,1134,133"/>
<area shape="rect" title=" " alt="" coords="1209,108,1260,133"/>
<area shape="rect" href="log_8h.html" title="日志打印/用户提示(告警)" alt="" coords="2188,255,2239,280"/>
<area shape="rect" title=" " alt="" coords="1284,108,1385,133"/>
<area shape="rect" title=" " alt="" coords="1409,108,1516,133"/>
<area shape="rect" title=" " alt="" coords="1541,108,1627,133"/>
<area shape="rect" title=" " alt="" coords="1652,108,1831,133"/>
<area shape="rect" href="dev__systick_8h.html" title="系统滴答定时器" alt="" coords="1095,255,1196,280"/>
<area shape="rect" href="dev__uart_8h.html" title="调试日志串口打印" alt="" coords="1221,255,1302,280"/>
<area shape="rect" href="dev__bod_8h.html" title="低电压触发配置" alt="" coords="1985,255,2065,280"/>
<area shape="rect" href="dev__rtc_8h.html" title="RTC 在线计时(No VBAT)" alt="" coords="2089,255,2164,280"/>
<area shape="rect" href="dev__crc_8h.html" title="硬件 CRC" alt="" coords="141,255,219,280"/>
<area shape="rect" href="dev__sfc_8h.html" title="SPI&#45;Flash Control 硬件专用高速模块" alt="" coords="243,255,319,280"/>
<area shape="rect" href="dev__sdram_8h.html" title="芯片内置 SDRAM" alt="" coords="343,255,438,280"/>
<area shape="rect" href="dev__sdio_8h.html" title="SDIO 驱动 SD 卡" alt="" coords="463,255,545,280"/>
<area shape="rect" href="dev__jpeg_8h.html" title="JPEG 硬件解码" alt="" coords="407,181,489,207"/>
<area shape="rect" href="dev__dac_8h.html" title="DAC 音频播放" alt="" coords="729,181,809,207"/>
<area shape="rect" href="dev__lcd_8h.html" title="LCD 驱动显示" alt="" coords="834,181,910,207"/>
<area shape="rect" href="dev__touch_8h.html" title="TP 触摸设备驱动层" alt="" coords="615,181,705,207"/>
<area shape="rect" href="dev__sleep__stop_8h.html" title="浅/深睡眠" alt="" coords="935,181,1057,207"/>
<area shape="rect" href="usbh__user_8h.html" title="USB Host 用户配置" alt="" coords="2123,181,2216,207"/>
<area shape="rect" title=" " alt="" coords="1233,181,1359,207"/>
<area shape="rect" title=" " alt="" coords="1383,181,1507,207"/>
<area shape="rect" title=" " alt="" coords="1532,181,1649,207"/>
<area shape="rect" title=" " alt="" coords="1673,181,1804,207"/>
<area shape="rect" title=" " alt="" coords="1829,181,1950,207"/>
<area shape="rect" title=" " alt="" coords="1974,181,2098,207"/>
<area shape="rect" href="jfif__parser_8h.html" title="jpeg 图片 jfif 格式解析" alt="" coords="620,255,708,280"/>
<area shape="rect" title=" " alt="" coords="1868,255,1961,280"/>
<area shape="rect" href="usbh__conf_8h.html" title="USB Host Config" alt="" coords="2263,255,2355,280"/>
<area shape="rect" href="usbh__msc__conf_8h.html" title="USB Host MSC 类配置" alt="" coords="2247,328,2371,353"/>
</map>
</div>
</div>
<p><a href="main_8c_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a5c281603f24ccb7c38f4b2155b02cad5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a5c281603f24ccb7c38f4b2155b02cad5">WDT_ENABLE</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a5c281603f24ccb7c38f4b2155b02cad5"><td class="mdescLeft">&#160;</td><td class="mdescRight">看门狗(1-使能, 0-失能)  <a href="main_8c.html#a5c281603f24ccb7c38f4b2155b02cad5">更多...</a><br /></td></tr>
<tr class="separator:a5c281603f24ccb7c38f4b2155b02cad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b93883d131a46069e13f86b3634e6a9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a9b93883d131a46069e13f86b3634e6a9">SLEEP_ENABLE</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a9b93883d131a46069e13f86b3634e6a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">休眠演示(1-使能, 0-失能)  <a href="main_8c.html#a9b93883d131a46069e13f86b3634e6a9">更多...</a><br /></td></tr>
<tr class="separator:a9b93883d131a46069e13f86b3634e6a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a001e0ff5f04ad4f86670205d3905c0c5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a001e0ff5f04ad4f86670205d3905c0c5">gui_init</a> (void)</td></tr>
<tr class="memdesc:a001e0ff5f04ad4f86670205d3905c0c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">LVGL Core/Port Init  <a href="main_8c.html#a001e0ff5f04ad4f86670205d3905c0c5">更多...</a><br /></td></tr>
<tr class="separator:a001e0ff5f04ad4f86670205d3905c0c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f1efe6291a27ae9b326f0c8a236c102"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102">user_app</a> (void)</td></tr>
<tr class="memdesc:a8f1efe6291a27ae9b326f0c8a236c102"><td class="mdescLeft">&#160;</td><td class="mdescRight">Go to User App Execute  <a href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102">更多...</a><br /></td></tr>
<tr class="separator:a8f1efe6291a27ae9b326f0c8a236c102"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">C_Main  <a href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe">更多...</a><br /></td></tr>
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4728919288dacba97228c27b1c996108"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a4728919288dacba97228c27b1c996108">isr_systick</a> (void)</td></tr>
<tr class="memdesc:a4728919288dacba97228c27b1c996108"><td class="mdescLeft">&#160;</td><td class="mdescRight">Systick ISR Callback  <a href="main_8c.html#a4728919288dacba97228c27b1c996108">更多...</a><br /></td></tr>
<tr class="separator:a4728919288dacba97228c27b1c996108"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a7d9f2d02fb8222f2a32fc7eeeed8e655"><td class="memItemLeft" align="right" valign="top">volatile uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a7d9f2d02fb8222f2a32fc7eeeed8e655">Systick_Ms_TP</a> = 0</td></tr>
<tr class="memdesc:a7d9f2d02fb8222f2a32fc7eeeed8e655"><td class="mdescLeft">&#160;</td><td class="mdescRight">手指触摸释放时长 / ms, 反映屏幕多长时间未被点击, 一旦有新的点击触发, 其值立即清零  <a href="main_8c.html#a7d9f2d02fb8222f2a32fc7eeeed8e655">更多...</a><br /></td></tr>
<tr class="separator:a7d9f2d02fb8222f2a32fc7eeeed8e655"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >主程序 </p>
<p >本例程综合了 SWM34S 系列不同脚位封装( CE-48 / RE-64 / VE-100 )的 DEMO 板驱动不同的 TFT-LCD 屏(RGB接口) 的应用 用户首先要点击魔术棒左边的 Target 下拉进行目标选择, 再调整 "version.h" 的宏定义以进行 &lt;<b>平台适配</b>&gt; , 最后编译下载查看效果. </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>若用户使用的 TFT-LCD 模组不在原厂已调试过的屏幕范围内, 需要自行编写/更改对应 TFT-LCD 显示/触摸 的驱动程序. 请知悉 : 没有任何一个程序可以兼容市面各式各样、不同参数的屏幕.</dd></dl>
<p>关于帧率说明 : &lt; 目前例程已将全部屏驱显示目标的编译优化等级调整为 -Ofast &gt; LVGL 有一个帧率刷新周期的宏定义 LV_DISP_DEF_REFR_PERIOD &lt;lv_conf.h -Line 59&gt;， LVGL 会依据该宏与内部的 tick 进行比较以定时刷新屏幕，也就是说该宏定义限定了 LVGL 刷屏帧率的上限，默认配置下是 30ms =&gt; 33.3 帧 此外, 实际测试发现代码优化等级对 帧率 影响较大, 最高效率应是 -O Fast 等级(若用户代码经得其优化&lt;善用 volatile&gt;) 而抛开其他因素, 对 AC6 编译器来说, 不推荐使用 -O0 优化等级(推荐最低应是 -O1).</p>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 中定义.</p>
</div><h2 class="groupheader">宏定义说明</h2>
<a id="a5c281603f24ccb7c38f4b2155b02cad5" name="a5c281603f24ccb7c38f4b2155b02cad5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c281603f24ccb7c38f4b2155b02cad5">&#9670;&#160;</a></span>WDT_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WDT_ENABLE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>看门狗(1-使能, 0-失能) </p>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="a9b93883d131a46069e13f86b3634e6a9" name="a9b93883d131a46069e13f86b3634e6a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b93883d131a46069e13f86b3634e6a9">&#9670;&#160;</a></span>SLEEP_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SLEEP_ENABLE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>休眠演示(1-使能, 0-失能) </p>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a001e0ff5f04ad4f86670205d3905c0c5" name="a001e0ff5f04ad4f86670205d3905c0c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a001e0ff5f04ad4f86670205d3905c0c5">&#9670;&#160;</a></span>gui_init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void gui_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>LVGL Core/Port Init </p>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00129">129</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c_a001e0ff5f04ad4f86670205d3905c0c5_icgraph.png" border="0" usemap="#amain_8c_a001e0ff5f04ad4f86670205d3905c0c5_icgraph" alt=""/></div>
<map name="amain_8c_a001e0ff5f04ad4f86670205d3905c0c5_icgraph" id="amain_8c_a001e0ff5f04ad4f86670205d3905c0c5_icgraph">
<area shape="rect" title="LVGL Core/Port Init" alt="" coords="104,5,167,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<a id="a8f1efe6291a27ae9b326f0c8a236c102" name="a8f1efe6291a27ae9b326f0c8a236c102"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f1efe6291a27ae9b326f0c8a236c102">&#9670;&#160;</a></span>user_app()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void user_app </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Go to User App Execute </p>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00210">210</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c_a8f1efe6291a27ae9b326f0c8a236c102_cgraph.png" border="0" usemap="#amain_8c_a8f1efe6291a27ae9b326f0c8a236c102_cgraph" alt=""/></div>
<map name="amain_8c_a8f1efe6291a27ae9b326f0c8a236c102_cgraph" id="amain_8c_a8f1efe6291a27ae9b326f0c8a236c102_cgraph">
<area shape="rect" title="Go to User App Execute" alt="" coords="5,591,80,616"/>
<area shape="rect" href="simple__lcd__rgb_8c.html#a88c8131eba18e87016d6c3651e0468f0" title="Lib / SimpLCD 在 lvgl 下实现, 用于测试三基色显示" alt="" coords="128,343,237,368"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="328,392,392,417"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="155,764,211,789"/>
<area shape="rect" href="ui__update_8c.html#aea66c53fcc188fefaa3470555db6aa05" title="启动 UI 引导加载界面, 挂载文件系统以实现 UI 素材导入/更新" alt="" coords="143,1259,222,1284"/>
<area shape="rect" href="simple__lcd__rgb_8c.html#a7edf4af3fbcbd413039639b1cb950f16" title="An lv_task to call periodically to set the angles of the arc" alt="" coords="319,343,401,368"/>
<area shape="rect" href="simple__lcd__rgb_8c.html#ab1639860987093322a59392427b3ab13" title="三基色交替显示任务" alt="" coords="309,293,411,319"/>
<area shape="rect" href="load__file_8c.html#aebe4a0d647831986c734e1788150a064" title="为磁盘挂载文件系统" alt="" coords="745,516,820,541"/>
<area shape="rect" href="image__source_8c.html#a885e4f4c4d55a588752ae7411cf4daa8" title="初始化 图片资源文件映射表" alt="" coords="499,416,637,441"/>
<area shape="rect" href="load__file_8c.html#a2efc2116dbabe389a95c812f9dc6aa03" title="加载资源至 SDRAM 内" alt="" coords="491,567,645,592"/>
<area shape="rect" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9" title="应用 label 控件在屏幕上显示错误告警" alt="" coords="727,467,838,492"/>
<area shape="rect" href="load__mv_8c.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b" title="音视频任务处理" alt="" coords="723,16,842,41"/>
<area shape="rect" href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5" title="打开源文件启动播放" alt="" coords="521,67,615,92"/>
<area shape="rect" href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71" title="结束播放, 释放所占用的资源" alt="" coords="733,117,833,143"/>
<area shape="rect" href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e" title="开机按计划自检, 完成一些文件系统挂载、素材文件的校验/更新等动作" alt="" coords="524,517,612,543"/>
<area shape="rect" href="load__file_8c.html#a62a6b593e3ff4f0f2c1b13773df449b0" title="销毁位于 SDRAM 内的资源" alt="" coords="483,219,653,244"/>
<area shape="rect" href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7" title="释放一块内存" alt="" coords="525,268,611,293"/>
<area shape="rect" href="mem__sdram_8c.html#ae1630464a6d7686e9e41daf4b38e74a8" title="申请一块内存" alt="" coords="517,665,619,691"/>
<area shape="rect" href="dev__touch_8c.html#a4155438389d8b8b802f7f20534056bf0" title="触摸事件处理" alt="" coords="517,317,619,343"/>
<area shape="rect" href="load__mv_8c.html#a3ff08970bdf7f8e28122786eac11d6d3" title="设置视频循环播放次数" alt="" coords="515,616,621,641"/>
<area shape="rect" href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c" title="设置视频播放显示区域" alt="" coords="514,367,622,392"/>
<area shape="rect" href="load__file_8c.html#a51d572edecc93d80a160b93843fb5208" title="磁盘新建卷, 重置清空卷" alt="" coords="936,567,1003,592"/>
<area shape="rect" href="load__file_8c.html#a2826c976bae07983300096521da284b4" title="为磁盘卸载文件系统" alt="" coords="925,516,1014,541"/>
<area shape="rect" href="load__file_8c.html#af9dfd7a83175e3852794ad0cc1feffc3" title="加载二进制数据至 SDRAM 内" alt="" coords="717,667,848,692"/>
<area shape="rect" href="load__file_8c.html#a19787671d1d62339e0cf53a1b1f7ab98" title="加载图片信息至 SDRAM 内" alt="" coords="708,716,857,741"/>
<area shape="rect" href="dev__jpeg_8c.html#ac0e9fc8534c961b9dbba6ad4b8e8b61e" title="JPEG 硬件解码" alt="" coords="922,691,1017,716"/>
<area shape="rect" href="dev__jpeg_8c.html#a1cbc17a98f22c1c19a7d33c85a14fccd" title="JPEG 硬件解码忙查询" alt="" coords="1075,716,1215,741"/>
<area shape="rect" href="posix__fsm_8c.html#a0b1b28d5d26c97b4c934f7822c1a7a04" title="当指定事件触发时, 状态机会自动寻找并调用对应的动作处理回调, 从而完成状态转移" alt="" coords="912,67,1027,92"/>
<area shape="rect" href="posix__fsm_8c.html#a02397a7a821d3ddd678b34eea5e94054" title="获取当前状态" alt="" coords="917,117,1021,143"/>
<area shape="rect" href="file__table_8c.html#a3b8264ecd2971c7f1409a78c16a80fff" title="按文件表依次验证磁盘文件" alt="" coords="725,883,840,908"/>
<area shape="rect" href="file__table_8c.html#a9f89967794eeb4df91c77da5f983e163" title="按文件表拷贝文件并显示拷贝过程 UI" alt="" coords="701,617,864,643"/>
<area shape="rect" href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18" title="按钮图标样式设置" alt="" coords="307,813,413,839"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="301,764,419,789"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="495,813,641,839"/>
<area shape="rect" href="setup__home__page__home_8c.html#a236ec2e4ba252c597a6c8d695eb5e825" title="创建 Home 页" alt="" coords="485,863,651,888"/>
<area shape="rect" href="setup__home__page__m0_8c.html#aa198ac34b1b6fa9f86d497cc3baf1d19" title="创建 M0 页" alt="" coords="491,912,645,937"/>
<area shape="rect" href="setup__home__page__m4_8c.html#afb77653567b2b50aef74a97266462f0c" title="创建 M4 页" alt="" coords="491,961,645,987"/>
<area shape="rect" href="setup__home__page__pd_8c.html#ab3e09574fd12d91ac7158b266241f565" title="创建 Product 页" alt="" coords="493,1011,643,1036"/>
<area shape="rect" href="setup__home__page__pp_8c.html#a2dc049611b8a6a5e649913c9ead4dc72" title="创建 Picture 页" alt="" coords="493,715,643,740"/>
<area shape="rect" href="setup__scr__home_8c.html#ace6d825503d92b9fa25e9433e6a5e3e1" title=" " alt="" coords="523,764,613,789"/>
<area shape="rect" href="ui__update_8c.html#a1a09f4ed59173b0220ba241a673ea3ec" title="开机启动引导消息框选择回调" alt="" coords="285,1308,435,1333"/>
<area shape="rect" href="ui__update_8c.html#a4b62aef18e10709cce125faee1b7dd52" title="文件管理器" alt="" coords="315,1259,405,1284"/>
<area shape="rect" href="ui__update_8c.html#a3dbd73c82f05a5370635333b5ed68aea" title="点击不同的按钮后, 由此函数执行对应动作" alt="" coords="521,1284,615,1309"/>
<area shape="rect" href="ui__update_8c.html#af7291cda4b568af469eecf3fbf3a7094" title="消息框弹出提示" alt="" coords="730,1335,835,1360"/>
<area shape="rect" href="ui__update_8c.html#a106a57df6249072c630361740348469e" title="销毁本页面所有控件" alt="" coords="511,1385,625,1411"/>
<area shape="rect" href="ui__update_8c.html#ac4bb8b84a1ae2abc7bd0419c4345bca2" title="选择不同加载方式后, 由此函数执行分支跳转" alt="" coords="503,1435,633,1460"/>
<area shape="rect" href="ui__update_8c.html#a69a8fdfac59efe32394ac287d886ad88" title="文件过滤器(仅针对外置存储)" alt="" coords="515,1484,621,1509"/>
<area shape="rect" href="ui__update_8c.html#abed58d04a30c85fb2231dace9f928c23" title="列表内按钮" alt="" coords="493,1136,643,1161"/>
<area shape="rect" href="ui__update_8c.html#affa34b514b9ff8d1f0d4e1f92df3f221" title="在已打开的目录下, 进行非递归搜寻文件, 并在 list 上刷新显示(文件数量上限由用户指定)" alt="" coords="517,1185,619,1211"/>
<area shape="rect" href="ui__update_8c.html#a0914c8a5cdee556dcabd181982c81260" title="创建本页面所用控件布局" alt="" coords="511,1235,625,1260"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c_a8f1efe6291a27ae9b326f0c8a236c102_icgraph.png" border="0" usemap="#amain_8c_a8f1efe6291a27ae9b326f0c8a236c102_icgraph" alt=""/></div>
<map name="amain_8c_a8f1efe6291a27ae9b326f0c8a236c102_icgraph" id="amain_8c_a8f1efe6291a27ae9b326f0c8a236c102_icgraph">
<area shape="rect" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<a id="a840291bc02cba5474a4cb46a9b9566fe" name="a840291bc02cba5474a4cb46a9b9566fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a840291bc02cba5474a4cb46a9b9566fe">&#9670;&#160;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>C_Main </p>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00070">70</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph.png" border="0" usemap="#amain_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph" alt=""/></div>
<map name="amain_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph" id="amain_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph">
<area shape="rect" title="C_Main" alt="" coords="5,1511,56,1536"/>
<area shape="rect" href="bsp__init_8c.html#ac1d41f544770121f1cb61aeb64e5807e" title="初始化所有的硬件设备, 该函数配置CPU寄存器和外设的寄存器并初始化一些全局变量(只需要调用一次)" alt="" coords="108,1685,175,1711"/>
<area shape="rect" href="main_8c.html#a001e0ff5f04ad4f86670205d3905c0c5" title="LVGL Core/Port Init" alt="" coords="110,1735,173,1760"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,531,179,556"/>
<area shape="rect" href="userboot_8c.html#a5d51bf8d3184d1c34b5fde41d69b1559" title="UserBoot 功能" alt="" coords="105,1359,177,1384"/>
<area shape="rect" href="dev__crc_8c.html#af9273c2c56ccb1b14946a43defe57f6b" title="硬件 CRC 初始化" alt="" coords="260,1611,324,1636"/>
<area shape="rect" href="dev__dac_8c.html#a6e622fafee8436bf9cf9f6b120352e3c" title="初始化 DAC 模块" alt="" coords="259,1808,325,1833"/>
<area shape="rect" href="dev__jpeg_8c.html#a036588013ef5d04b04f06e8ecd22262e" title="初始化 JPEG 硬件解码器模块" alt="" coords="257,1857,327,1883"/>
<area shape="rect" href="bsp__init_8c.html#a1aedc31e8cff26709d3089c0a7579121" title="对用户使用的可编程硬件中断设置优先级及分组" alt="" coords="258,1709,326,1735"/>
<area shape="rect" href="dev__systick_8c.html#ac816b9d61dad1fe749c8eb4c625320dd" title=" " alt="" coords="248,1759,336,1784"/>
<area shape="rect" href="dev__uart_8c.html#afd092ef1d390fe16bc90e101bbbca1d8" title="初始化用作打印调试日志的串口" alt="" coords="237,1660,347,1685"/>
<area shape="rect" href="dev__dac_8c.html#aab3eb615ca98a910e727b600de131c18" title="配置 DAC 驱动端口以及功放静音控制脚, 开启声音" alt="" coords="443,1808,539,1833"/>
<area shape="rect" href="dev__uart_8c.html#aadbe4996756dcc6199bc9ec2e4969993" title="配置串口打印调试日志的端口" alt="" coords="421,1660,560,1685"/>
<area shape="rect" href="simple__lcd__rgb_8c.html#a88c8131eba18e87016d6c3651e0468f0" title="Lib / SimpLCD 在 lvgl 下实现, 用于测试三基色显示" alt="" coords="237,55,347,80"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="260,531,324,556"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="264,205,320,231"/>
<area shape="rect" href="ui__update_8c.html#aea66c53fcc188fefaa3470555db6aa05" title="启动 UI 引导加载界面, 挂载文件系统以实现 UI 素材导入/更新" alt="" coords="253,909,331,935"/>
<area shape="rect" href="simple__lcd__rgb_8c.html#a7edf4af3fbcbd413039639b1cb950f16" title="An lv_task to call periodically to set the angles of the arc" alt="" coords="449,55,532,80"/>
<area shape="rect" href="simple__lcd__rgb_8c.html#ab1639860987093322a59392427b3ab13" title="三基色交替显示任务" alt="" coords="440,5,541,31"/>
<area shape="rect" href="load__file_8c.html#aebe4a0d647831986c734e1788150a064" title="为磁盘挂载文件系统" alt="" coords="663,921,738,947"/>
<area shape="rect" href="image__source_8c.html#a885e4f4c4d55a588752ae7411cf4daa8" title="初始化 图片资源文件映射表" alt="" coords="422,556,559,581"/>
<area shape="rect" href="load__file_8c.html#a2efc2116dbabe389a95c812f9dc6aa03" title="加载资源至 SDRAM 内" alt="" coords="624,405,777,431"/>
<area shape="rect" href="log_8c.html#afe12af7fba29f5c026af71dfca1d1ff9" title="应用 label 控件在屏幕上显示错误告警" alt="" coords="645,733,756,759"/>
<area shape="rect" href="load__mv_8c.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b" title="音视频任务处理" alt="" coords="431,307,550,332"/>
<area shape="rect" href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5" title="打开源文件启动播放" alt="" coords="443,657,538,683"/>
<area shape="rect" href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71" title="结束播放, 释放所占用的资源" alt="" coords="651,632,751,657"/>
<area shape="rect" href="ui__boot_8c.html#ad02910df5a0eb655a0a0495b475f7c0e" title="开机按计划自检, 完成一些文件系统挂载、素材文件的校验/更新等动作" alt="" coords="447,759,535,784"/>
<area shape="rect" href="load__file_8c.html#a62a6b593e3ff4f0f2c1b13773df449b0" title="销毁位于 SDRAM 内的资源" alt="" coords="405,356,576,381"/>
<area shape="rect" href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7" title="释放一块内存" alt="" coords="447,405,534,431"/>
<area shape="rect" href="mem__sdram_8c.html#ae1630464a6d7686e9e41daf4b38e74a8" title="申请一块内存" alt="" coords="649,243,752,268"/>
<area shape="rect" href="dev__touch_8c.html#a4155438389d8b8b802f7f20534056bf0" title="触摸事件处理" alt="" coords="439,455,542,480"/>
<area shape="rect" href="load__mv_8c.html#a3ff08970bdf7f8e28122786eac11d6d3" title="设置视频循环播放次数" alt="" coords="647,180,754,205"/>
<area shape="rect" href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c" title="设置视频播放显示区域" alt="" coords="437,808,545,833"/>
<area shape="rect" href="load__file_8c.html#a51d572edecc93d80a160b93843fb5208" title="磁盘新建卷, 重置清空卷" alt="" coords="837,872,903,897"/>
<area shape="rect" href="load__file_8c.html#a2826c976bae07983300096521da284b4" title="为磁盘卸载文件系统" alt="" coords="825,1197,915,1223"/>
<area shape="rect" href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18" title="按钮图标样式设置" alt="" coords="437,104,544,129"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="431,205,550,231"/>
<area shape="rect" href="ui__update_8c.html#a1a09f4ed59173b0220ba241a673ea3ec" title="开机启动引导消息框选择回调" alt="" coords="416,909,565,935"/>
<area shape="rect" href="ui__update_8c.html#a4b62aef18e10709cce125faee1b7dd52" title="文件管理器" alt="" coords="445,959,536,984"/>
<area shape="rect" href="userboot_8c.html#aeeea4715dd32a4a4ecdf61a2869d1307" title="计算 CRC 校验和" alt="" coords="441,1435,540,1460"/>
<area shape="rect" href="userboot_8c.html#a0591f13c34e15c4d9fbe31fd99726a94" title="数据解密" alt="" coords="244,1209,340,1235"/>
<area shape="rect" href="userboot_8c.html#a52a519a37465a7b4515a237114afa802" title="数据加密" alt="" coords="244,1259,340,1284"/>
<area shape="rect" href="userboot_8c.html#a43be464e9071b97862e51b2273afd856" title="固件备份 (Chip&#45;Flash&lt;运行区&gt; =&gt; 本地存储&lt;备份区&gt;)" alt="" coords="233,1460,351,1485"/>
<area shape="rect" href="userboot_8c.html#a759a4106353e92e06e9d15926228c576" title="固件下载 (外部 =&gt; 本地)" alt="" coords="227,1509,357,1535"/>
<area shape="rect" href="userboot_8c.html#ae1cbf84771d87b5530710ae6852bd827" title="固件更新 (本地存储&lt;备份区&gt; =&gt; Chip&#45;Flash&lt;运行区&gt;)" alt="" coords="234,1160,350,1185"/>
<area shape="rect" href="userboot_8c.html#a9412f435ea365342178b2399fc08a846" title="写入固件信息, 并自带回读校验" alt="" coords="435,1111,546,1136"/>
<area shape="rect" href="userboot_8c.html#a78c7624204dca44707593279758c0c98" title="跳转至 APP 加载地址运行" alt="" coords="244,1308,340,1333"/>
<area shape="rect" href="userboot_8c.html#acdd804b92809fcd58b2bc135fc74666c" title="跳转至 UserBoot 执行对应动作" alt="" coords="229,1111,355,1136"/>
<area shape="rect" href="userboot_8c.html#a01aae38566ae3dd519a6c18696ab2806" title="重启 MCU" alt="" coords="449,1260,532,1285"/>
<area shape="rect" href="dev__crc_8c.html#a64e0abe6c28e0480424c1e467afb7430" title="计算 CRC32 校验和" alt="" coords="661,1435,740,1460"/>
</map>
</div>

</div>
</div>
<a id="a4728919288dacba97228c27b1c996108" name="a4728919288dacba97228c27b1c996108"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4728919288dacba97228c27b1c996108">&#9670;&#160;</a></span>isr_systick()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void isr_systick </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Systick ISR Callback </p>
<dl class="section note"><dt>注解</dt><dd>1 ms 被调用 1 次, 执行时长不应超过计时周期 </dd></dl>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00111">111</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c_a4728919288dacba97228c27b1c996108_cgraph.png" border="0" usemap="#amain_8c_a4728919288dacba97228c27b1c996108_cgraph" alt=""/></div>
<map name="amain_8c_a4728919288dacba97228c27b1c996108_cgraph" id="amain_8c_a4728919288dacba97228c27b1c996108_cgraph">
<area shape="rect" title="Systick ISR Callback" alt="" coords="5,5,91,31"/>
<area shape="rect" href="dev__systick_8c.html#a3d9798af743e2d9726406d6f847231ec" title=" " alt="" coords="139,5,255,31"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a7d9f2d02fb8222f2a32fc7eeeed8e655" name="a7d9f2d02fb8222f2a32fc7eeeed8e655"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d9f2d02fb8222f2a32fc7eeeed8e655">&#9670;&#160;</a></span>Systick_Ms_TP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint32_t Systick_Ms_TP = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>手指触摸释放时长 / ms, 反映屏幕多长时间未被点击, 一旦有新的点击触发, 其值立即清零 </p>

<p class="definition">在文件 <a class="el" href="main_8c_source.html">main.c</a> 第 <a class="el" href="main_8c_source.html#l00056">56</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
